<template>
  <div class="home-background">
    <!--        头部-->
    <div class="header">
      <navbar class="home-nav">
        <div slot="left">
          <i class="el-icon-arrow-left back"></i>
        </div>
        <div slot="center">
          <el-button type="text" class="text">音乐会</el-button>
        </div>
        <div slot="right">
          <i class="el-icon-search top-icon"></i>
          <i class="el-icon-message top-icon"></i>
        </div>
      </navbar>
    </div>
    <div style="width: 100%;height: 49px"></div>
    <div class="select">
      <el-date-picker class="select-time"
                      v-model="value1"
                      type="date"
                      placeholder="选择日期">
      </el-date-picker>
      <el-select v-model="value" placeholder="请选择" class="select-distance">
        <el-option
          v-for="item in options"
          :key="item.value"
          :label="item.label"
          :value="item.value">
        </el-option>
      </el-select>
    </div>
    <!--        活动-->
    <div class="all-act">
      <h3>
        <el-button type="text" class="act-choose">最新</el-button>
        <el-button type="text" class="act-choose">最热</el-button>
      </h3>
      <searchact></searchact>
      <searchact></searchact>
      <searchact></searchact>
      <searchact></searchact>
      <searchact></searchact>
      <searchact></searchact>
      <searchact></searchact>
    </div>
  </div>
</template>

<script>
import navbar from "../../../components/nav-bar/nav-bar";
import searchact from "../../../components/search/search-act";
    export default {
        name: "one-kind",
      components:{
        navbar,
        searchact
      }
    }
</script>

<style scoped>
  .home-background{
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #F2F2F2;
  }
  .header{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }
  .home-nav{
    background-color: #B0E3FF;
    color: white;
  }
  .back{
    color: white;
    font-size: 25px;
    margin-top: 10px;
  }
  .text{
    color: white;
    font-size: 20px;
  }
  .top-icon{
    color: white;
    font-size: 26px;
    margin-right: 5px;
  }

  .select{
    width: 100%;
    height: 60px;
    background-color: white;
  }
  .select-time{
    display: inline-block;
    margin-top: 10px;
    margin-left: 10px;
    width: 40%;
  }
  .select-distance{
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    width: 40%;
  }

  .all-act{
    width: 100%;
    height: auto;
    background-color: white;
  }
  .all-act h3{
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .act-choose{
    color: #555555;
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    margin-left: 12px;
  }
</style>
